﻿﻿var PAGE_CONFIG = {
    JSObj: {
        baseUrl: "http://192.168.1.150:8008",
        baseUrlBuyer: "../../resouce/js",
        moduleCommUrl: "pageModules/common/",
        moduleBuyerUrl: "pageModules/buyer/",
        moduleSupplyUrl: "pageModules/supplyer/",
        libsPageUrl: "libs/page/",
        mockUrl: "libs/mockTest/",
    },
    requestUrl: {
        categoryUrl: "/goods/primary-category",
        brandUrl: "/goods/brand",
        asbrandUrl: "/goods/brand/grant-brands",
        addrProvince: "/area/list/province",
        addrCity: "/area/list/city",
        addrCounty: "/area/list/county",

        firstCategory:'/goods/primary-category/first/category',//一级分类
        secendCategory:'/goods/primary-category/category', //二级分类

        offerInfo1: "/goods/primary-category",
        offerInfo2: "/goods/primary-category",
        goodsclassify: "/goodsclassify",
        storeClassification: "/account/member/category",
        distributeInfo1: "distributeInfo1",
        goodsInfoList: "",
        delGood: "",
        uploadimg: "/temp/image",
        preViewImg: "temp",
        manageGood: "manegeGood",
        classifyS18: "/account/member/category",
        classifyS18New: "/account/member/category",
        classifyS18Edit: "classifyS18Edit",
        classifyS18Super: "classifyS18Super",
        classifyS18NewInfer: "classifyS18NewInfer",
        classifyS18Insert: "/account/member/category", //增
        classifyS18Read: "/account/member/category", //查list
        classifyS18ReadOne: "/account/member/category/information", //查 单个分类信息
        classifyS18Del: "/account/member/category", //删
        classifyS18Update: "/account/member/category/update", //改

        // 商家中心
        sellerCenterC6Read: "/merchant",

        supplyManagement: "",
        superClassify: "/account/member/category",
        //供应商
        UpdOfferRecordS2: '/account/member/offer/cancel',
        enquirylist: "/provider/list",
        enquiryHotShop: "/purchaser/hot-shop",
        enquiryGroomSupply: "/purchaser/groom-supply",
        //采购商
        buyerList: "/purchaser/list",
        buyerHotShop: "/purchaser/hot-shop",
        buyerGroomSupply: "/purchaser/groom-supply",

        supplyManagementR: "/supplyManagementR",
        buyerManagement: "",
        buyerManagementR: "/buyerManagementR",
        secondaryClassily: "/provider/info",

        freeDistributed: "/free/goods",
        distributed: "/distribution/list",

        addSort: "/addSort",
        counterOffer: "/account/member/counter-offer",
        counterOfferHandle: "/account/member/counter-offer/status",
        counterOfferDel: "/account/member/counter-offer/cancel",
        counterenquiry: "/account/member/counter-enquiry",//B3-采购商中心-还盘意向单
        counterenquiry1: "/account/member/counter-enquiry/status",//B3-采购商中心-还盘意向单 处理接口
        counterenquiry2: "/account/member/counter-enquiry/cancel",//B3-采购商中心-还盘意向单 删除接口

        // S17, 编辑商品规格,
        goodsSpecS17Read: "/account/member/goods-spec",
        goodsSpecS17Del: "/account/member/goods-spec",

        //供应商审批
        listSuppliers: "/account/member/authorization-request",
        //拒绝供应商审批
        reSuppliers: "/account/member/authorization-request/refuse",
        //授权供应商
        grantSuppliers: "/account/member/authorization-request/agree",

        //我的采购商
        mySuppliers: "",
        //终止采购商
        zzSuppliers: "my-purchaser/shutdown",

        priceStrategyS7 : "licensed-goods/price-strategy",

        //商品授权-查询采购商的授权商品
        listProduts: "licensed-goods/goods-list",
        //商品授权==提交
        addPrice: "",
        //商品授权==提交
        listAlreadyPro: "",
        //商品授权==终止
        zzProduts: "",
        //商品授权==编辑
        queryGrant: "/queryGrant",
        //商品授权==编辑保存
        editGrant: "/editGrant",

        //提交价格策略
        addPriceStrategy: "price-strategy",
        //查询价格策略
        listPriceStrategy: "price-strategy",
        //根据id查询价格策略
        queryPriceByid: "price-strategy/edit",
        //编辑价格策略
        editPriceStrategy: "price-strategy",
        //删除价格策略
        delPriceStrategy: "price-strategy/destroy",
        //C15 商品详情 的规格
        shopdetails: "/store/goods-detail",
        //添加购物车
        addStoreCart: "/cart/shopping-cart",

        //获取结算汇总信息
        querybalance:"settlement-management/balance",
        //获取账户信息
        queryaccount:"settlement-management/account",
        //获取结算记录
        queryrecount:"settlement-management/recount",
        //获取记录数据
        queryaccountdetail:"settlement-management/record",

        //获取分销关系信息
        querydistribution:"",

        //搜索
        searchBtn:'/search',

        editpwd: 'company/password',
        editemail: 'company/email',

        //商品咨询
        releaseConsult:'/goods/consult',

        //购物车相关操作
        queryGoodcart:'/cart/cart-list',
        //供应信息列表
        queryCompaySuply:'/store/info',

        // 购物车数量的增减--单个增减
        countGoodcart:'/cart/update-info',

        // 删除购物车的物品
        delGoodCart:'/cart/cart-info',

        //所有商品
        queryallShop:'/store/product-list',
        //公司相关信息
        querycompny:'/store/category-list',


        //订单
        getReceiverInfo:'/order/info',   //收货地址
        delReceiverInfo:'/order/delete-addr',   //删除收货地址

        getShopCartInfoC17:'/order/shop-list',  //商品列表

        addReceiverInfo:"/order/receipt-information", //保存收货信息
        getInvoiceInfo:'/order/invoice-info', //获取发票信息列表

        addInvoiceInfo:'/order/save-invoice', //保存发票信息
        delInvoiceInfo:'/order/delete-invoice', //删除发票信息

        distributionC3 : "distributionC3",

        // S4-订单管理-订单列表
        getOrderListS4:"",
        // S4-订单管理-调整费用-获取订单信息
        getOrderInfoS4:"order/order-info",
        // S4-订单管理-调整费用-更新订单
        updateOrderInfoS4: "order/order-info",
        // S4-订单管理-调整费用-取消订单
        deleteOrderInfoS4: "",

        // S4-订单管理-发货-获取物流信息
        getOrderLogisticInfoS4:"getOrderLogisticInfoS4",
        // S4-订单管理-发货-更新物流信息
        UpdateOrderLogisticInfoS4:"UpdateOrderLogisticInfoS4",

        updPayOrderB4:"updPayOrderB4",
		addFindTruck : "/help/find-truck", // 帮我找车
        shopDetails:"/goods/detail",  // 获取商品详情列表
    }


};
